package com.xlh.virtualization.dao;

import com.xlh.virtualization.domain.ImageAllocationSlave;
import com.xlh.virtualization.domain.example.ImageAllocationSlaveExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ImageAllocationSlaveMapper {
    long countByExample(ImageAllocationSlaveExample example);

    int deleteByExample(ImageAllocationSlaveExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ImageAllocationSlave record);

    int insertSelective(ImageAllocationSlave record);

    List<ImageAllocationSlave> selectByExample(ImageAllocationSlaveExample example);

    ImageAllocationSlave selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ImageAllocationSlave record, @Param("example") ImageAllocationSlaveExample example);

    int updateByExample(@Param("record") ImageAllocationSlave record, @Param("example") ImageAllocationSlaveExample example);

    int updateByPrimaryKeySelective(ImageAllocationSlave record);

    int updateByPrimaryKey(ImageAllocationSlave record);
}